|
relay5 2.2.1
|
Relay 5 Click example. More...
Macros | |
| #define | MIKROBUS_POSITION_RELAY5 MIKROBUS_1 |
Functions | |
| void | application_init (void) |
| void | application_task (void) |
| int | main (void) |
Relay 5 Click example.
This example demonstrates the use of Relay 5 Click board by toggling the relays state.
The demo application is composed of two sections :
Initializes the driver and logger.
Switches all relays state every 5 seconds and displays the state on the USB UART.
| #define MIKROBUS_POSITION_RELAY5 MIKROBUS_1 |
| void application_init | ( | void | ) |
< Logger config object.
< Click config object.
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
| void application_task | ( | void | ) |
| int main | ( | void | ) |